import 'package:boss/ui/page/member/page/memberIndex.dart';
import 'package:boss/ui/widget/center_title_app_bar.dart';
import 'package:flutter/material.dart';
import 'package:hi_common/hi_common.dart';
import 'package:router/annotation.dart';

@RouterConfig(Member.pageName)
class Member extends StatefulWidget {
  static const pageName = '/MemberPage';

  @override
  MyMember createState() => MyMember('会员');
}

class MyMember extends BaseState<Member> {
  MyMember(String pageName) : super(pageName);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: CenterTitleAppBar(
        title: '会员',
        actions: <Widget>[],
      ),
      body: MemberIndex(),
    );
  }
}
